// Get will get a specific targeting Keyword
Get will get a specific targeting Keyword
// Get will get a specific targeting Keyword
func (s *AdGroupTargetingKeywordService) Get(ctx context.Context, campaignID, adGroupID, targetingkeywordID int64) (*TargetingKeyword, *Response, error) {
	if campaignID == 0 {
		return nil, nil, fmt.Errorf("campaignID can not be 0")
	}
	if adGroupID == 0 {
		return nil, nil, fmt.Errorf("adGroupID can not be 0")
	}
	if targetingkeywordID == 0 {
		return nil, nil, fmt.Errorf("targetingkeywordID can not be 0")
	}
	u := fmt.Sprintf("campaigns/%d/adgroups/%d/targetingkeywords/%d", campaignID, adGroupID, targetingkeywordID)
	req, err := s.client.NewRequest("GET", u, nil)
	if err != nil {
		return nil, nil, err
	}
	targetingkeyword := TargetingKeyword{}
	resp, err := s.client.Do(ctx, req, &targetingkeyword)
	if err != nil {
		return nil, resp, err
	}
	return &targetingkeyword, resp, nil
}
func ( s * AdGroupTargetingKeywordService ) Get ( ctx context . Context , campaignID , adGroupID , targetingkeywordID int64 ) ( * TargetingKeyword , * Response , error ) { if campaignID == 0 { return nil , nil , fmt . Errorf ( " " ) } if adGroupID == 0 { return nil , nil , fmt . Errorf ( " " ) } if targetingkeywordID == 0 { return nil , nil , fmt . Errorf ( " " ) } u := fmt . Sprintf ( " " , campaignID , adGroupID , targetingkeywordID ) req , err := s . client . NewRequest ( " " , u , nil ) if err != nil { return nil , nil , err } targetingkeyword := TargetingKeyword { } resp , err := s . client . Do ( ctx , req , & targetingkeyword ) if err != nil { return nil , resp , err } return & targetingkeyword , resp , nil }
Get will get a specific targeting Keyword
Get will get a specific targeting Keyword