Re: Where can I find an a Google Ads API pro to hire?

2021-04-30 Thread K Raza
Hi,

I can be helpful

Thanks.

On Friday, April 30, 2021 at 10:08:08 PM UTC+5 high...@gmail.com wrote:

> We're moving away from the Adwords API v201809 over to the new Google Ads 
> API v6/7. I'm looking for someone who has experience with the new API and 
> is well versed in the object model/graph because we're trying to query 
> across different sources. Anyone know where I can find someone?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c5835b0a-9ee1-41b1-b0dc-d542a53fca16n%40googlegroups.com.


Ad Group Asset (image) URL Required

2021-04-30 Thread K Raza
Hi,

I want to fetch Assets of my AdGroup/Ads.  I can see there are example to 
fetch assets, but  I want to fetch link of a particular asset with my Ad.

There is a AdGroupAdAssetView, but that not return info for Display Ads.

Can you please help

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3d461e15-9da6-47cd-a01b-2d65211efe27n%40googlegroups.com.


Managed Placement View + Cost of each placement

2021-04-07 Thread K Raza
Hi,

Is this possible using google ads API that we can fetch cost of each 
placement.  When I try to add cost metrics, I get error that invalid 
field.  It works ok with impressions.

I am using managed_placement_view

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e17aa6b4-ffa2-42a8-bce9-8b19ad1410a3n%40googlegroups.com.


Expiry of Refresh Token / Access Token

2021-03-13 Thread K Raza
My google ads token expired after a week.   Can I generate a long life 
token for server side app?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a07d5647-edc7-42d4-a21c-d6e1167ab970n%40googlegroups.com.


Re: How to PAUSE a Managed Placement of AdGroup

2021-03-05 Thread K Raza
This is resolved. v6 have some fixes and my script was using old object.

Sorry for this.

On Friday, March 5, 2021 at 10:49:11 PM UTC+5 K Raza wrote:

> Hi @Anthony
>
> I notice that Google Ads Python Library give error on  CENTOS6 with Python 
> 3.8.  It worked ok On Windows.
>
> Here is what I am getting even all is good.
>
> ad_group_criterion.resource_name = 
> agc_service.ad_group_criteria_path(customer_id, 
> ResourceName.format_composite(ad_group_id, criterion_id))
> AttributeError: 'AdGroupCriterionServiceClient' object has no attribute 
> 'ad_group_criteria_path'
>
> Any idea?
> On Friday, March 5, 2021 at 2:25:37 AM UTC+5 adsapiforumadvisor wrote:
>
>> Hello,
>>
>> Please let me know if you face any other issues.
>>
>>
>> Cheers,
>> Anthony
>>
>> [image: Google Logo] 
>> Anthony 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2DKpxV:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5aff0904-26a7-4eb9-95d3-fc3874dd695cn%40googlegroups.com.


Re: How to PAUSE a Managed Placement of AdGroup

2021-03-05 Thread K Raza
Hi @Anthony

I notice that Google Ads Python Library give error on  CENTOS6 with Python 
3.8.  It worked ok On Windows.

Here is what I am getting even all is good.

ad_group_criterion.resource_name = 
agc_service.ad_group_criteria_path(customer_id, 
ResourceName.format_composite(ad_group_id, criterion_id))
AttributeError: 'AdGroupCriterionServiceClient' object has no attribute 
'ad_group_criteria_path'

Any idea?
On Friday, March 5, 2021 at 2:25:37 AM UTC+5 adsapiforumadvisor wrote:

> Hello,
>
> Please let me know if you face any other issues.
>
>
> Cheers,
> Anthony
>
> [image: Google Logo] 
> Anthony 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2DKpxV:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1d95f513-ab1b-4aac-8adb-e4e4e44c239dn%40googlegroups.com.


Re: How to PAUSE a Managed Placement of AdGroup

2021-03-04 Thread K Raza
I have a python example and that worked for me to pause the placement.
+++
def pause_placement (client, customer_id, ad_group_id, criterion_id):
agc_service = client.get_service("AdGroupCriterionService", version="v6")

ad_group_criterion_operation = client.get_type(
"AdGroupCriterionOperation", version="v6"
)

ad_group_criterion = ad_group_criterion_operation.update
ad_group_criterion.resource_name = agc_service.ad_group_criteria_path(
customer_id, ResourceName.format_composite(ad_group_id, criterion_id)
)
ad_group_criterion.status = client.get_type(
"AdGroupCriterionStatusEnum", version="v6"
).PAUSED

fm = protobuf_helpers.field_mask(None, ad_group_criterion)
ad_group_criterion_operation.update_mask.CopyFrom(fm)

try:
agc_response = agc_service.mutate_ad_group_criteria(
customer_id, [ad_group_criterion_operation]
)
except google.ads.google_ads.errors.GoogleAdsException as ex:
print(
'Request with ID "%s" failed with status "%s" and includes the '
"following errors:" % (ex.request_id, ex.error.code().name)
)
for error in ex.failure.errors:
print('\tError with message "%s".' % error.message)
if error.location:
for field_path_element in error.location.field_path_elements:
print("\t\tOn field: %s" % field_path_element.field_name)
sys.exit(1)

print("Updated placement status %s." % 
agc_response.results[0].resource_name)
 



On Thursday, March 4, 2021 at 10:30:53 PM UTC+5 Google Ads API Explorer 
wrote:

> @anthony,
>
> I did this but not able to pause the placements
>
> $adGroupCriterion = new AdGroupCriterion([
> 'resource_name' => ResourceNames::forAdGroupCriterion(
> $customerId,
> $adGroupId,
> $placementcriterionId
> ),
> 'status' => AdGroupCriterionStatus::PAUSED
> ]);
>
> 
>
> $adGroupCriterionOperation = new AdGroupCriterionOperation();
> $adGroupCriterionOperation->setUpdate($adGroupCriterion);
>
> 
> $adGroupCriterionOperation->setUpdateMask(FieldMasks::allSetFieldsOf($adGroupCriterion));
>
>
> // Issues a mutate request to update the ad group criterion.
>
> $adGroupCriterionServiceClient = 
> $googleAdsClient->getAdGroupCriterionServiceClient();
>
> $response = 
> $adGroupCriterionServiceClient->mutateAdGroupCriteria(
> $customerId,
> [$adGroupCriterionOperation]
> );
>
>
> On Thursday, March 4, 2021 at 10:01:52 PM UTC+5:30 Google Ads API Explorer 
> wrote:
>
>> Can I pause placement using CampaignCriterion or AdGroupCriterion service 
>> ?
>>
>> On Thursday, March 4, 2021 at 9:22:53 PM UTC+5:30 adsapiforumadvisor 
>> wrote:
>>
>>> Hello,
>>>
>>> Unfortunately, we don't have an example on how to pause placements. 
>>> However, you can use this example 
>>> 
>>>  
>>> as a reference. This example shows how to enable a keyword using 
>>> AdGroupCriterionService. You will need to modify it to use PAUSED and the 
>>> Id of your placements.
>>>
>>> Cheers,
>>> Anthony
>>>
>>> [image: Google Logo] 
>>> Anthony 
>>> Google Ads API Team 
>>>   
>>>
>>> ref:_00D1U1174p._5004Q2DKpxV:ref
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/10c821a5-ac58-4fa1-8c85-2cebcfe27751n%40googlegroups.com.


Can I PAUSE a Managed Placement of AdGroup ?

2021-03-04 Thread K Raza
Hi

Can we PAUSE a Managed Placement of AdGroup using Google Ads API?

Here is screen shot of my placements that i want to pause using API (v6) 
Python.

[image: google_placement.png]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c875f049-8ef6-40d2-9ef7-57d3c30c98a7n%40googlegroups.com.


Re: How to PAUSE a Managed Placement of AdGroup

2021-03-03 Thread K Raza
I am using google Ads API  v6

On Wednesday, March 3, 2021 at 11:13:55 PM UTC+5 K Raza wrote:

> Hi Support,
>
> I am using python to build a app for my client.   I want to PAUSE a 
> specific Placement using my code.  How can I do that? There is no example 
> for this 
>
> Here is image,  for example I want to PAUSE latimes.com placement
> [image: google_placement.png]
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/017754e3-abc3-4b35-bb29-d8020340cd7fn%40googlegroups.com.


How to PAUSE a Managed Placement of AdGroup

2021-03-03 Thread K Raza
Hi Support,

I am using python to build a app for my client.   I want to PAUSE a 
specific Placement using my code.  How can I do that? There is no example 
for this 

Here is image,  for example I want to PAUSE latimes.com placement
[image: google_placement.png]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/29ffe771-ee14-4a82-aab8-3f3176d879d9n%40googlegroups.com.