Posts under category google-ads-api

I have Google Ads Campaigns with the following tracking template: {lpurl}/{loc_physical_ms}.

I have clicked on one of my live ads, but the /{loc_physical_ms} did not appear in the URL.

Is there a configuration I may be missing - or do I not understand the point of this ValueTrack parameter? My landing pages are already programmed to consume the ID from {loc_physical_ms} and generate localized content, but the parameter doesn't seem to do anything.

I'm attempting to retrieve the total order amount on a Stripe charge. It's different for every order. I need this value for Google Ads Dynamic conversions. My Question: How to I retrieve/return the order value after a payment?

//Stripe Payment Backend app.post('/create-checkout-session', async (req, res) => { const session = await stripe.checkout.sessions.create({ line_items: [ { // Provide the exact Price ID (for example, pr_1234) of the product you want to sell price: 'price_mypriceID', quantity: 1, }, ], mode: 'payment', success_url: `${YOUR_DOMAIN}/dashboard?success=true`, cancel_url: `${YOUR_DOMAIN}/dashboard?canceled=true`, }); res.json({url: session.url})  }); 

This code runs on a successful payment, triggering a Google Ads Conversion.

if (location == "?success=true"){ window.gtag('config', 'AW-myaccount'); window.gtag('event', 'conversion', {'send_to': 'AW-myaccount', 'value': {needToReturnDynamicValueHere}, <--------- This  'currency': 'USD' }); }, [location])

I am trying to make a call to Google Ads API to access campaign data in python. I have completed the following steps:

  1. Created a web app and enabled Google-Ads API
  2. Saved JSON file that contains client id and secret information
  3. Generated refresh token
  4. Updated google-ads yaml file based on the client id, client secret, refresh token, developer token and customer id

However when I try this:

from google.ads.googleads.client import GoogleAdsClient client = GoogleAdsClient.load_from_storage("google-ads.yaml") 

I get the error:

RefreshError: ('unauthorized_client')

I have rechecked for any typos or white-spaces. I have the "Standard Access" on my email id: on Google-Ads account under the Access and Security section. Any help would be really great.

I have implemented react-native-google-mobile-ads.. all. thing are. working fine but i want but there is some issue.

  1. When ever a system dialogue is open. like Alert.alert() then an app open ads is appeared.
  2. The Second issue is that app open ads appears after the interstitial ad is closed.
  3. App Open ads are appears when ever a permission dialogue is opened.
  4. I want to hide screen content behind the app open ads.