Apple Search Ads

RSS for tag

Help potential customers discover your app on the App Store with Apple Search Ads.

Posts under Apple Search Ads tag

173 Posts

Post

Replies

Boosts

Views

Activity

jeton de bypss
si je fait le backup sur mon Iphone sur une programme il ya une dossier qui est cree le nom du dossier et l'indetite de mon Iphone soit SerialNumber ou DeviceID alors je besion de modifier des fichiers crees comme activation_record je peut modifier la ligne ActivationRandomness
0
0
744
May ’22
Receiving "invalid_client" while trying to retrieve token (Search Ads API)
Hello! I'm using this article to receive the token to get access to the API. I created new Apple ID, set up Search Ads, and invite this new user from my main account (with access to ads/campaigns) with shared access to data through API. In parallel I generated two keys (private and public) and uploaded public key. So, I got clientId, teamId and keyId. Don't know why, but clientId and teamId in my case are the same. Then I used Python example from docs to create JWT token (or client_secret). I got client_secret and then tried to send POST request to get access_token. I used CURL from example (with my data): curl -X POST -H 'Host: appleid.apple.com' -H 'Content-Type: application/x-www-form-urlencoded' https://appleid.apple.com/auth/oauth2/token?grant_type=client_credentials& client_id=id_here&client_secret=jwt_here&scope=searchadsorg But I always receives 400 error: {     "error": "invalid_client" } How to fix it? Did I miss something?
3
0
3.6k
Apr ’22
SearchAds JWT error invalid_client
I did everything like in this tutorial : https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api But it does not work, when I generate a client secret and use it in curl to request an access token like this : curl -X POST -H 'Host: appleid.apple.com' -H 'Content-Type: application/x-www-form-urlencoded' 'https://appleid.apple.com/auth/oauth2/token?grant_type=client_credentials&client_id=SEARCHADS.XXXXXXX&client_secret=XXXXXXXXXX&scope=searchadsorg' I got {"error":"invalid_client"} the createclientsecret is like this: import jwt import datetime as dt client_id = "SEARCHADS.XXXXXXXXXX" team_id = "SEARCHADS.XXXXXXXXXX" key_id = "XXXXXXXXXX" audience = "https://appleid.apple.com" alg = "ES256" # Define issue timestamp. issued_at_timestamp = int(dt.datetime.utcnow().timestamp()) # Define expiration timestamp. May not exceed 180 days from issue timestamp. expiration_timestamp = issued_at_timestamp + 86400 * 180 # Define JWT headers. headers = dict() headers["alg"] = alg headers["kid"] = key_id # Define JWT payload. payload = dict() payload["sub"] = client_id payload["aud"] = audience payload["iat"] = issued_at_timestamp payload["exp"] = expiration_timestamp payload["iss"] = team_id # Path to signed private key. KEY_FILE = "privateKey/private-key.pem" with open(KEY_FILE, "r") as key_file: key = "".join(key_file.readlines()) client_secret = jwt.encode(payload=payload, headers=headers, algorithm=alg, key=key) with open("client_secret.txt", "w") as output: output.write(client_secret.decode("utf-8")) Please help me I stuck since 3 days
1
0
918
Apr ’22
Can't add card to search ads
So as Apple has just released their Search Advertising network I tried to set up my account but I'm encountering this error when trying to add my visa credit card (all correct details) "Error saving credit card information. Try again later." Does anyone else have this issue or know how it can be fixed?
55
1
23k
Mar ’22
Apple Search Ads API - Multiple Countries/Regions
I'm generating reports for a few campaigns with the Search Ads API. I've been running into this problem, where if a campaign is running in multiple countries (in my specific case: ['AR', 'CL', 'CO', 'PE']), I'm unable to find a way to get more granular results. The report only shows that list in the metadata. So my question is: is there any way to determine how well the ad performs in each country in the list as opposed to seeing the results grouped together? json payload: json = { "startTime": start_date, "endTime": end_date, "selector": { "orderBy": [ { "field": sort_field, "sortOrder": sort_order } ], "conditions": conditions, "pagination": { "offset": offset, "limit": limit } }, "timeZone": "UTC", "returnRecordsWithNoMetrics": no_metrics, "returnRowTotals": return_row_totals, "granularity":granularity, "returnGrandTotals": return_grand_totals } post request: requests.post("https://api.searchads.apple.com/api/v4/reports/campaigns", json=json, headers=headers) campaign metadata: {'campaignId': CAMPAIGN_ID, 'campaignName': CAMPAIGN_NAME, 'deleted': False, 'campaignStatus': 'PAUSED', 'app': {'appName': APP_NAME, 'adamId': ADAMID}, 'servingStatus': 'NOT_RUNNING', 'servingStateReasons': ['PAUSED_BY_USER'], 'countriesOrRegions': ['AR', 'CL', 'CO', 'PE'], 'modificationTime': '2021-12-14T23:42:57.281', 'totalBudget': {'amount': AMOUNT, 'currency': 'USD'}, 'dailyBudget': {'amount': AMOUNT, 'currency': 'USD'}, 'displayStatus': 'PAUSED', 'supplySources': ['APPSTORE_SEARCH_RESULTS'], 'adChannelType': 'SEARCH', 'orgId': ORG_ID, 'countryOrRegionServingStateReasons': {}, 'billingEvent': 'TAPS'} As you can see, there's a list of countries. At the moment, I am unaware of how to break it down into specific countries.
1
0
1.5k
Mar ’22
Apple Search Ads API - Access Token Unauthorised
I followed the Apple documentation and got my access token. But when I call the below I get an error. Would it be possible to help? url = https://api.searchads.apple.com/api/v4/acls resp = requests.get(url) result = resp.json() print(result) Error: {'data': None, 'pagination': None, 'error': {'errors': [{'messageCode': 'UNAUTHORIZED', 'message': 'Invalid cert. cert null', 'field': ''}]}} -- url = https://api.searchads.apple.com/api/v4/campaigns headers = {       "Authorization": "Bearer {"+access_token+"}",       "X-AP-Context": "orgId={"+orgId+"}" } resp = requests.get(url, headers=headers) result = resp.json() print(result) Error: {'data': None, 'pagination': None, 'error': {'errors': [{'messageCode': 'UNAUTHORIZED', 'message': 'Invalid token: 5594b1f4-9766-49e1-ba5f-ef5f23111da5', 'field': ''}]}}
0
0
1k
Mar ’22
Add Ads to iOS app
Hi. I would like to have ads in my apps. I don't know (nor care really) where they are served from. Apple, Google, someone else... As long as: Apple approves of them I can let users get rid of them with an in-app-purchase They are clean for children of any age. Please advise how to go about this. I have no idea where to begin. I strongly hope there is a first-party solution for this, without having to use Google stuff in my apps and such. Thank you.
2
1
7.2k
Feb ’22
Why can't I search for my app WEEID on the App Store?
Hello I'm writing to the developer forums as a last ditch effort I have been trying unsuccessfully for the last two months to get apple engineering to look at what my App is named = WEEID and that when searching it will attempt to auto correct you to Weed which is not the name of my App and I was informed by apple support that this is normal behavior. I get a cop out answer for support of the following "I am following up with you regarding the issue that you are encountering when searching for your app “WeeID” on the App Store.  App Store search results are based on several factors determined by Apple-confidential algorithms and our engineering team has confirmed that search results are working as expected. The issue that you are encountering is related to the app name “WeeID” being auto-corrected to “weed”, which our engineering team advises is a reasonable auto-correction. I hope this update is helpful and thank you for understanding our support polices. If you have any questions, please reply to this email and I will get back to you quickly. " Which is not only a lie but just terrible customer service to begin with. How do I as a company escalate this request to someone like a engineering manager who has the power to help me get this updated so that my app can be searchable. This seems to be unfair trade practices IMO.
0
0
951
Feb ’22
App Name 'Wakau' shows results for keyword 'Waka', how do I resolve this?
Hi Everyone, We have been facing an issue for 4-5 months from now, When any user search our app - 'Wakau' on the App store the first set of results are shown for 'Waka'. The user is able to only search the app if they click on "Search for Wakau instead". Please help me, how do I resolve this. All keywords have been used properly including 'Wakau'. Regards, Anurvi
0
0
499
Feb ’22
jeton de bypss
si je fait le backup sur mon Iphone sur une programme il ya une dossier qui est cree le nom du dossier et l'indetite de mon Iphone soit SerialNumber ou DeviceID alors je besion de modifier des fichiers crees comme activation_record je peut modifier la ligne ActivationRandomness
Replies
0
Boosts
0
Views
744
Activity
May ’22
"An Issue Occurred" when adding a credit card
An Issue OccurredYour request couldn’t be completed. Would you like to try again?Most likely the website doesn't support redirects to bank website. Any idea how to solve it?
Replies
21
Boosts
0
Views
8.7k
Activity
May ’22
Daily reports in Basic Mode in Apple Search Ads?
Is there a way to download a daily report in "basic" mode? I need the daily expense and install information, but it doesn't seem to be downloadable in any way in this mode. Thank you
Replies
0
Boosts
0
Views
850
Activity
Apr ’22
Receiving "invalid_client" while trying to retrieve token (Search Ads API)
Hello! I'm using this article to receive the token to get access to the API. I created new Apple ID, set up Search Ads, and invite this new user from my main account (with access to ads/campaigns) with shared access to data through API. In parallel I generated two keys (private and public) and uploaded public key. So, I got clientId, teamId and keyId. Don't know why, but clientId and teamId in my case are the same. Then I used Python example from docs to create JWT token (or client_secret). I got client_secret and then tried to send POST request to get access_token. I used CURL from example (with my data): curl -X POST -H 'Host: appleid.apple.com' -H 'Content-Type: application/x-www-form-urlencoded' https://appleid.apple.com/auth/oauth2/token?grant_type=client_credentials& client_id=id_here&client_secret=jwt_here&scope=searchadsorg But I always receives 400 error: {     "error": "invalid_client" } How to fix it? Did I miss something?
Replies
3
Boosts
0
Views
3.6k
Activity
Apr ’22
cannot get ' impressions Share' metric from API
I am able to get ' impressions Share' metric through custom report ,but can't get the sam metric from API. Does anyone know the reason?
Replies
1
Boosts
0
Views
1.2k
Activity
Apr ’22
Apple Search Ads: How do I get the user in-app purchases?
Excuse, my colleague told me: customers can get many message like the purchases only with apple api. But I can't find the user in-app purchases message in Apple Search Asa documents.I need someone to help me, thanks.
Replies
1
Boosts
0
Views
640
Activity
Apr ’22
Search adds payment error
An Issue Occurred Your request couldn’t be completed. Would you like to try again? I have available only 100 USD on my card. Is there any issue like tax/vat related to which possible reason for the error?
Replies
1
Boosts
0
Views
1.1k
Activity
Apr ’22
SearchAds JWT error invalid_client
I did everything like in this tutorial : https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api But it does not work, when I generate a client secret and use it in curl to request an access token like this : curl -X POST -H 'Host: appleid.apple.com' -H 'Content-Type: application/x-www-form-urlencoded' 'https://appleid.apple.com/auth/oauth2/token?grant_type=client_credentials&client_id=SEARCHADS.XXXXXXX&client_secret=XXXXXXXXXX&scope=searchadsorg' I got {"error":"invalid_client"} the createclientsecret is like this: import jwt import datetime as dt client_id = "SEARCHADS.XXXXXXXXXX" team_id = "SEARCHADS.XXXXXXXXXX" key_id = "XXXXXXXXXX" audience = "https://appleid.apple.com" alg = "ES256" # Define issue timestamp. issued_at_timestamp = int(dt.datetime.utcnow().timestamp()) # Define expiration timestamp. May not exceed 180 days from issue timestamp. expiration_timestamp = issued_at_timestamp + 86400 * 180 # Define JWT headers. headers = dict() headers["alg"] = alg headers["kid"] = key_id # Define JWT payload. payload = dict() payload["sub"] = client_id payload["aud"] = audience payload["iat"] = issued_at_timestamp payload["exp"] = expiration_timestamp payload["iss"] = team_id # Path to signed private key. KEY_FILE = "privateKey/private-key.pem" with open(KEY_FILE, "r") as key_file: key = "".join(key_file.readlines()) client_secret = jwt.encode(payload=payload, headers=headers, algorithm=alg, key=key) with open("client_secret.txt", "w") as output: output.write(client_secret.decode("utf-8")) Please help me I stuck since 3 days
Replies
1
Boosts
0
Views
918
Activity
Apr ’22
How can I increase app downloads?
I have no idea how to increase my app downloads now, I have looked up some information about ASO, is it real helpful? What can I do? Is there any other way I can use to promote my app?
Replies
3
Boosts
0
Views
3.3k
Activity
Apr ’22
Can't add card to search ads
So as Apple has just released their Search Advertising network I tried to set up my account but I'm encountering this error when trying to add my visa credit card (all correct details) "Error saving credit card information. Try again later." Does anyone else have this issue or know how it can be fixed?
Replies
55
Boosts
1
Views
23k
Activity
Mar ’22
Testing/Sandbox Environment for the ASA Campaign Management API
Hello, Is there an sandbox environment or workaround to test API calls without impacting a live account? I need to test my code and I don't see a logical way to test stuff like deleting a campaign. Thanks!
Replies
0
Boosts
0
Views
529
Activity
Mar ’22
Apple Search Ads API - Multiple Countries/Regions
I'm generating reports for a few campaigns with the Search Ads API. I've been running into this problem, where if a campaign is running in multiple countries (in my specific case: ['AR', 'CL', 'CO', 'PE']), I'm unable to find a way to get more granular results. The report only shows that list in the metadata. So my question is: is there any way to determine how well the ad performs in each country in the list as opposed to seeing the results grouped together? json payload: json = { "startTime": start_date, "endTime": end_date, "selector": { "orderBy": [ { "field": sort_field, "sortOrder": sort_order } ], "conditions": conditions, "pagination": { "offset": offset, "limit": limit } }, "timeZone": "UTC", "returnRecordsWithNoMetrics": no_metrics, "returnRowTotals": return_row_totals, "granularity":granularity, "returnGrandTotals": return_grand_totals } post request: requests.post("https://api.searchads.apple.com/api/v4/reports/campaigns", json=json, headers=headers) campaign metadata: {'campaignId': CAMPAIGN_ID, 'campaignName': CAMPAIGN_NAME, 'deleted': False, 'campaignStatus': 'PAUSED', 'app': {'appName': APP_NAME, 'adamId': ADAMID}, 'servingStatus': 'NOT_RUNNING', 'servingStateReasons': ['PAUSED_BY_USER'], 'countriesOrRegions': ['AR', 'CL', 'CO', 'PE'], 'modificationTime': '2021-12-14T23:42:57.281', 'totalBudget': {'amount': AMOUNT, 'currency': 'USD'}, 'dailyBudget': {'amount': AMOUNT, 'currency': 'USD'}, 'displayStatus': 'PAUSED', 'supplySources': ['APPSTORE_SEARCH_RESULTS'], 'adChannelType': 'SEARCH', 'orgId': ORG_ID, 'countryOrRegionServingStateReasons': {}, 'billingEvent': 'TAPS'} As you can see, there's a list of countries. At the moment, I am unaware of how to break it down into specific countries.
Replies
1
Boosts
0
Views
1.5k
Activity
Mar ’22
Ads not working in flutter iOS app
We have implemented admob on our flutter app and published it, also have it approved on admob but the ads don't show up yet on an iPhone we would love to know if there are other steps towards setting up admib on our iOS app.
Replies
0
Boosts
0
Views
1k
Activity
Mar ’22
Ads for mac os
Hello! Tell me what an advertising for application for mac os?
Replies
1
Boosts
0
Views
1.6k
Activity
Mar ’22
Apple Search Ads API - Access Token Unauthorised
I followed the Apple documentation and got my access token. But when I call the below I get an error. Would it be possible to help? url = https://api.searchads.apple.com/api/v4/acls resp = requests.get(url) result = resp.json() print(result) Error: {'data': None, 'pagination': None, 'error': {'errors': [{'messageCode': 'UNAUTHORIZED', 'message': 'Invalid cert. cert null', 'field': ''}]}} -- url = https://api.searchads.apple.com/api/v4/campaigns headers = {       "Authorization": "Bearer {"+access_token+"}",       "X-AP-Context": "orgId={"+orgId+"}" } resp = requests.get(url, headers=headers) result = resp.json() print(result) Error: {'data': None, 'pagination': None, 'error': {'errors': [{'messageCode': 'UNAUTHORIZED', 'message': 'Invalid token: 5594b1f4-9766-49e1-ba5f-ef5f23111da5', 'field': ''}]}}
Replies
0
Boosts
0
Views
1k
Activity
Mar ’22
How to see my Search Ads campaign in App Analytics sources
Hi, I have some campaign running in Search Ads for my iOS apps but I do not see these campaign in the App Analytincs->Sources->Campaigns. What Am I doing wrong ? Shall I create a campaign link but then how to use a campaign link in Search Ads ? Shall I integrate the iAds framework (but the what shall I do with it ? Thanks
Replies
2
Boosts
1
Views
1.5k
Activity
Mar ’22
Add Ads to iOS app
Hi. I would like to have ads in my apps. I don't know (nor care really) where they are served from. Apple, Google, someone else... As long as: Apple approves of them I can let users get rid of them with an in-app-purchase They are clean for children of any age. Please advise how to go about this. I have no idea where to begin. I strongly hope there is a first-party solution for this, without having to use Google stuff in my apps and such. Thank you.
Replies
2
Boosts
1
Views
7.2k
Activity
Feb ’22
Why can't I search for my app WEEID on the App Store?
Hello I'm writing to the developer forums as a last ditch effort I have been trying unsuccessfully for the last two months to get apple engineering to look at what my App is named = WEEID and that when searching it will attempt to auto correct you to Weed which is not the name of my App and I was informed by apple support that this is normal behavior. I get a cop out answer for support of the following "I am following up with you regarding the issue that you are encountering when searching for your app “WeeID” on the App Store.  App Store search results are based on several factors determined by Apple-confidential algorithms and our engineering team has confirmed that search results are working as expected. The issue that you are encountering is related to the app name “WeeID” being auto-corrected to “weed”, which our engineering team advises is a reasonable auto-correction. I hope this update is helpful and thank you for understanding our support polices. If you have any questions, please reply to this email and I will get back to you quickly. " Which is not only a lie but just terrible customer service to begin with. How do I as a company escalate this request to someone like a engineering manager who has the power to help me get this updated so that my app can be searchable. This seems to be unfair trade practices IMO.
Replies
0
Boosts
0
Views
951
Activity
Feb ’22
How to get an access token that does not expire
Hello, Here's my question about apple search ads API Are there any options or methods to get an access token that does not expire? the expiration limit;3600 seconds are too short a time and I want to change the limit.
Replies
0
Boosts
0
Views
592
Activity
Feb ’22
App Name 'Wakau' shows results for keyword 'Waka', how do I resolve this?
Hi Everyone, We have been facing an issue for 4-5 months from now, When any user search our app - 'Wakau' on the App store the first set of results are shown for 'Waka'. The user is able to only search the app if they click on "Search for Wakau instead". Please help me, how do I resolve this. All keywords have been used properly including 'Wakau'. Regards, Anurvi
Replies
0
Boosts
0
Views
499
Activity
Feb ’22