What is AMS Data? Amazon Marketing Stream is a product offered by Amazon that provides advertisers and integrators with near real-time access to campaign metrics and information from their Amazon Ads campaigns. It operates on a push-based model, delivering data directly to the advertisers’ or integrators’ AWS accounts. By subscribing to Amazon Marketing Stream and […]
Accessing AMS Data Create Simple Queue Service – SQS queue (Refer: https://advertising.amazon.com/API/docs/en-us/amazon-marketing-stream/cloud-formation ) Create a Subscription for the Seller through the API End Point: {{api_url}}/streams/subscriptionsHeader Info: Content-Type:application/vnd.MarketingStreamSubscriptions.StreamSubscriptionResource.v1.0+jsonAmazon-Advertising-API-ClientId:{{client_id}}Amazon-Advertising-API-Scope:{{profileId}}Authorization:Bearer {{access_token}} Body Info: The response will be: {“clientRequestToken”: “123456789xyz1234567ShreeNag001″,”subscriptionId”: “amzn1.fead.cs1.skjfYbJWQwqJ-gGYSeVEDw”} Subscription status flow Retrieve Subscription Status via API { “createdDate”: “2023-05-04T10:51:07.336Z”, “dataSetId”: “sp-conversion”, “destinationArn”: “arn:aws:sqs:eu-west-1:218684966818:AdAce-MS-sp-conversion-EU”, “notes”: “Advertiser Shree […]
Cron jobs are the go to tools for developers to run scheduled tasks/jobs. A cron job is a Linux tool used for scheduling tasks to be executed at scripted times. Maintaining and managing cron jobs outside the application is a maintainability headache. Also, SSH access is required to edit cron entries. Laravel’s command scheduler is […]