Posts under category google-ads-api

I am using google-ads-java library to fetch campaigns from my Google Ads account follow this Google Ads API tutorial.
Everything is smooth with my ads.properties setting (clientId, clientSecret, refreshToken, developerToken, loginCustomerId)

But when it runs, it doesn't output anything then after a while, it shows an error:

c.g.ads.googleads.lib.request.summary    : FAILURE REQUEST SUMMARY. Method: google.ads.googleads.v15.services.GoogleAdsService/SearchStream, Endpoint: googleads.googleapis.com:443, CustomerID: {my_ad_manager_id}, RequestID: null, ResponseCode: UNAVAILABLE, Fault: Connection closed after GOAWAY. HTTP/2 error code: NO_ERROR, debug data: session_timed_out. c.g.ads.googleads.lib.request.detail     : FAILURE REQUEST DETAIL. Request ------- MethodName: google.ads.googleads.v15.services.GoogleAdsService/SearchStream Endpoint: googleads.googleapis.com:443 Headers: {developer-token=REDACTED, login-customer-id={my_ad_manager_id}, x-goog-api-client=gl-java/19.0.2 gccl/28.0.0 gapic/28.0.0 gax/2.32.0 grpc/1.56.1} Body: customer_id: "{my_ad_account_id}" query: "SELECT campaign.id, campaign.name FROM campaign ORDER BY campaign.id" Response -------- Headers: null Body: null Failure message: null Status: Status{code=UNAVAILABLE, description=Connection closed after GOAWAY. HTTP/2 error code: NO_ERROR, debug data: session_timed_out, cause=null}. 

No further info at my local.
When I check the Google Cloud APIs & Services Dashboard, it shows all the requests got 403 error

I created customised native ad and i'm able to show skip option when i click skip i want to show another ad then in the second ad user can close ads so i can take them to some another screen in app

in this package i couldn't found any option to close ad

nativeAdViewRef.current?.loadAd(); 

using this function to load ad, how can i close?

my requirement is if user clicks skip i need to show another ad after few seconds i need to show close option

taking user to another screen if clicking on skip is rightway? or it violates any google ad rules?

I understand that sha256 is not good for hashing passwords because it's too fast, so attackers can brute-force the output of commonly used passwords. I recently used Google Ads API and other ad platforms to upload conversions. A hashed (using sha256) user email is included in the uploaded conversion. I'm wondering why sha256 is okay for hashing email in this case. If an attacker manages to obtain the user email database, wouldn't he be able to easily find out a user's original email?

I have a BigQuery export set up for my Google account, and colleagues working on this account sometimes do name edits on campaigns, ad groups and so on.

Issue is, those changes get recorded in BigQuery as new rows, under the same asset ID:

This messes my reports up, as campaign metrics like Impressions are being duplicated in tools like Power BI:

I am not sure what the best approach would be here, so I'd gladly accept your support on this matter.

on my website, I'm using GTM (Google Tag Manager) to upload click conversions, for Google Ads, immediately after user purchase.

Now, I'm using Google Ads REST api for some other operations. I want to use it, also for adjusting (modifying) conversions offline, after the purchase. But, REST api requires doing that by Customer (account) ID.

But because I have multiple accounts, I don't which one of them is the correct, I only have the data relating to the order - order id, gclid, order time, etc.

I looked after a way for implementing that, but couldn't find.

Is there a way to implement conversion adjust with Google Ads REST api, given I have multiple accounts and I don't which one of them is the correct? But with other conversion details like gclid and order id?