Posts tagged with google-ads-api

we market our App via App Install campaigns via Google Ads. Now we would like to be able to detect within our iOS (and later Android) app that a user is coming from a certain ad campaign, so we can display related content (e.g. a coupon code for all those coming from Google Ad). However, here we are faced with the challenge to recognize within the app after the installation whether the user comes from that Google Ad campaign. We have integrated the Firbase SDK, but I have not found any references here. A Campaign Link from Apple only provides the install in App Analytics, but I cannot access it in the app. What I had found so far was the following documentation: https://developers.google.com/analytics/devguides/collection/ios/v3/campaigns and some tips on how to track the campaign via GAITracker. However, this refers to the outdated Google Analytics SDK and I have already migrated to Firebase anyway. We set up a campaign as follows:

If a user now sees the advertisement and clicks on it, he will be directed to the App Store via the Google Analytics link "click.google-analytics....redirect=... ". Afterwards I would like to see in the AppDelegate if it comes over such a link. Can I take this from the URL, for example? Or is that not possible because it is routed through the App Store?

     func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool {         // Get CampaignName or some identifier from the Google Ad         return true     } 

If this is not possible, would using an attribution service like Adjust or Branch.io be the solution to make this possible? What would be the flow when using such a service?

Many thanks in advance for appropriate help!

I am attempting to pull in a users account hierarchy after I've received their three credentials through Oauth access ('client_id','client_secret','refresh_token'). Google API code sample I am referring to: https://developers.google.com/adwords/api/docs/samples/python/account-management#get-the-account-hierarchy-under-the-current-account

When I attempted to do this with my own account I had signed up with, client_customer_id was not needed in the .yml file, and I was successfully able to pull in the account hierarcy. When an account that was not associated with my original email gave oauth access I received an googleads.errors.GoogleAdsServerFault: [AuthorizationError.NO_CUSTOMER_FOUND @ ].

This error went away when I included their client_customer_id manually into the yml file. I feel as though I'm in a Catch-22, I need a client_customer_id to access the client_customer_id??

So, my question is, how can I pull in the client_customer_id that will give me access to the account hierarchy?

Google wrongly assumes that our page is related to online gambling and therefore disapprove our ads. But we don't see any option to disagree with this categorization. Do you guys have any ideas? We couldn't find any information.