Post not yet marked as solved
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!
Post not yet marked as solved
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.
Post not yet marked as solved
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.
Post not yet marked as solved
Hello! Tell me what an advertising for application for mac os?
Post not yet marked as solved
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':
''}]}}
Post not yet marked as solved
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
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.
Post not yet marked as solved
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.
Post not yet marked as solved
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.
Post not yet marked as solved
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
Post not yet marked as solved
I'm trying to pull Ad Attribution data using the AdServices method of pulling an attribution token and using it against the "https://api-adservices.apple.com/api/v1/" REST API.
The App Tracking Transparency is not setup because I do not want to pull the device's IDFA. I simply want to record search ad conversions on the app's first open.
This was working up until today on my iPhone and iPad however it stopped working today. I was able to pull the data once successfully from the iPad but that has been it.
I now receive an "Error posting to Attribution server" error pulling the token and if that succeeds, I then get a "The app is not authorized for ad tracking" error.
Nothing has changed in the app's code so I would like to better understand what is wrong?
Post not yet marked as solved
I see that I have the correct GET request in Python.
headers = {
'Authorization': f'Bearer {access_token}',
'X-AP-Context': f'orgId={orgId}',
}
r = requests.get('https://api.searchads.apple.com/api/v4/campaigns', headers=headers)
curl_data = r.json()
r
The response of the above is a 200, all good.
I've confirmed using acls, GET request to https://api.searchads.apple.com/api/v4/acls, that I have 'API Read Only' roleName.
When I attempt to use the sample code, with a small modification for 'true' to 'True', as Python requires it capitalized. Sample code is from Apple, as Payload Example 2, on this docs page.
Here is the code explicitly, using same headers as above:
# Payload Example 2: Get Campaign-Level Reports
data = \
{
"startTime": "2021-11-08",
"endTime": "2021-11-09",
"selector": {
"orderBy": [{
"field": "billingEvent",
"sortOrder": "DESCENDING"
}],
"conditions": [{
"field": "billingEvent",
"operator": "IN",
"values": [
"IMPRESSIONS",
"TAPS"
]
}],
"pagination": {
"offset": 0,
"limit": 34
}
},
"timeZone": "UTC",
"returnRecordsWithNoMetrics": False,
"returnRowTotals": True,
"returnGrandTotals": True
}
# making call
url = 'https://api.searchads.apple.com/api/v4/campaigns'
r = requests.post(url=url, data=data, headers=headers)
r
Here I get a 415 response. What is my error? Thanks in advance for any help.
Yours,
Michael
Post not yet marked as solved
Hey!
I'm following this article:
https://developer.apple.com/documentation/apple_search_ads/implementing_oauth_for_the_apple_search_ads_api#see-also
I'm now at the "Request an Access Token"-step.
Just getting <Response [400]>
and {"error":"invalid_client"}.
Anyone have an ideas here? If so I would greatly appreciate it!
Using the following Python code:
(in url I paste in my client_id and client_secret.)
import requests
url = "https://appleid.apple.com/auth/oauth2/token?
grant_type=client_credentials&client_id=<insert_client_id>&client_secret=<insert_client_secret>&scope=searchadsorg"
headers = { 'Host': "appleid.apple.com", 'Content-Type': "application/x-www-form-urlencoded", }
params = { 'client_id': client_id, 'client_secret': client_secret, 'grant_type': 'client_credentials', 'scope': 'searchadsorg' }
response = requests.post(url, headers=headers, params=params)
Post not yet marked as solved
Hello,
I have been automating our daily ASA reporting via the Apple Search Ads Campaign Management API and have not found a solution for automating the impression share reporting. Is this data available in this API or a in different Apple API?
I looked into scraping the scheduled custom reports but it appears that would violate the terms of service. We are currently manually extracting this data as a custom report for each app every day (weekends and holidays included) and it eats up a lot of time.
Thank you in advance!
Post not yet marked as solved
Hi,We're promoting our apps in Apple appstore, what are the tools for ASO (App Store Optimization) and ASM(App Search Marketing)?Thanks a lot for your helps.
Post not yet marked as solved
According to Apple:
"Early next year, you’ll be able to use custom product pages to create ad variations with Apple Search Ads. Custom product pages will be available to select right from your Apple Search Ads account, letting you create more relevant ads for different audiences." Source: https://developer.apple.com/app-store/custom-product-pages/
The time has finally come. We can now create custom product pages. I have created two of them and got them approved by Apple as well.
However in Adsearch, under creative set, I only can see the original screenshots that I had submitted to Apple as part of the release. I can't create ads for the product custom pages, that I got approved later on.
Any ideas or advice, please?
Thanks
Post not yet marked as solved
Like the title said, can you please tell me some great ASO (App Store Optimization) tools, or services? Thanks guys!
Post not yet marked as solved
Bonjour,
Je cherche à associer ma carte bancaire à mon compte Apple Search Ads.
Cependant, un message d'erreur apparaît quelque soit le navigateur Internet ou la carte bancaire utilisée.
Quel interlocuteur pourrait m'aider ?
Merci
Je peux transformer ceci : Marque (nom: "AUDI", modele: "RS3", modele2: "RS5",modele3: "RS6", image: "logo-audi",like: false),
J’aimerais faire un seul modele comme cela : Marque (nom: "AUDI", modele: ["RS3","RS5","RS6"] , image: "logo-audi",like: false),
Mais ça ne fonctionne pas auriez vous une solution ?
Le contexte est plusieurs TableView dans une TableViewController
Merci d’avance
Post not yet marked as solved
I have nearly identical campaigns that only differ in the location and a few keywords, but my UK campaign (which I only recently unpaused) has had zero spend or impressions (running since Monday).
This is very strange to me since my US and Germany campaigns always perform comparably. I would expect my UK campaign to be slightly different, but zero impressions is impossible.
Is it possible that this is a bug?